package org.springblade.wechat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.wechat.entity.WechatMp;
import org.springblade.wechat.entity.WechatMpUser;

/**
 * @author LK
 * @version 1.0.0
 * @Title: MpMapper.java
 * @Description: TODO
 * @date 2020/4/10 14:52
 */
public interface MpMapper extends BaseMapper<WechatMpUser> {

	/**
	 * 根据公众号id和用户id获取openId
	 *
	 * @param mpId
	 * @param userId
	 * @return
	 */
	String getOpenIdByMpIdAndUserId(String mpId, String userId);
}
